package com.boxing.callback;

import java.util.ArrayList;
import java.util.List;

public class Index {
    public static void main(String[] args) {
        Teacher teacher = new Teacher();

        List stus = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            Stu stu = new Stu("张三" + i);
            stus.add(stu);
        }
        stus.add(new Stu2());
        teacher.setStuArr(stus);

        teacher.sk();
    }
}
